package com.llt.myrule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LltRule {
    @Bean
    public IRule myIRule(){
        //返回值可以改成自己写的
        return new LltRandomRule();
    }
}
